<?php

namespace App\ZhCN\Interceptor;

if (!defined('IN_PX'))
    exit;

use App\Tools\Auxi;
use Phoenix\Interceptor\AbstractAdapter;

/**
 * 拦截赋值page seo
 */
class Login extends AbstractAdapter {

    private function __Inject($session) {}

    public function preHandle(Array & $context) {
        if (!is_null($this->session->member)) {
            $context['memberSession'] = $this->session->member;
            return true;
        }
        return false;
    }
}
